A Controlled Experiment to Assess the Bene ts of Procedure Argument Type
نویسندگان
چکیده
Type checking is considered an important mechanism for detecting programming errors, especially interface errors. This report describes an experiment to assess the defect-detection capabilities of static, inter-module type checking. The experiment uses Ansi C and Kernighan&Ritchie (K&R) C. The relevant di erence is that the Ansi C compiler checks module interfaces (i.e., the parameter lists of calls to external functions), whereas K&R C does not. The experiment employs a counterbalanced design in which each of the 40 subjects, most of them CS Ph.D. students, writes two non-trivial programs that interface with a complex library (Motif). Each subject writes one program in Ansi C and one in K&R C. The input to each compiler run is saved and manually analyzed for defects. Results indicate that delivered Ansi C programs contain signi cantly fewer interface defects than delivered K&R C programs. Furthermore, after subjects have gained some familiarity with the interface they are using, Ansi C programmers remove defects faster and are more productive (measured in both delivery time and functionality implemented).
منابع مشابه
Collaborative Hypothesis Testing Processes by Interactive Production Systems
We have developed an interactive production system architecture to simulate collaborative hypothesis testing processes, using the Wason's 2-4-6 task. In interactively solving situations two systems nd a target, conducting experiments alternately. In independently solving situations, each of two systems nds a target without interaction. If the performance in the former situations exceeds in the ...
متن کاملMulticriterion decision making in irrigation planning
Selection of the best compromise irrigation plan is examined in the multi objective context. The study deals with three con ̄icting objectives: net bene®ts, agricultural production and labour employment. Three-stage procedure is adopted combining multi objective optimisation, cluster analysis and multicriterion decision-making (MCDM) methods. Two MCDM methods, namely, PROMETHEE-2 and a newly dev...
متن کاملTransitivity, the Sorites Paradox, and Similarity-Based Decision-Making
A persistent argument against the transitivity assumption of rational choice theory postulates a repeatable action that generates a signi cant bene t at the expense of a negligible cost. No matter how many times the action has been taken, it therefore seems reasonable for a decision-maker to take the action one more time. However, matters are so xed that the costs of taking the action some lar...
متن کاملAn Experiment to Assess the Bene ts of Inter-Module Type Checking
This paper reports on an experiment to assess the error detection capabilities of static, inter-module type checking. Type checking is considered an important mechanism for detecting programming errors, especially interface errors. The experiment uses Kernighan&Ritchie C and ANSI C. The relevant di erence is that the ANSI C compiler checks module interfaces (i.e., the parameter lists of calls t...
متن کاملSocial Security: Universal vs Earnings-Dependent Benets
In this paper, I compare the welfare implications of implementing Bismarckian and Beveridgean social security systems. I rst judge a social security system with universal bene ts against one with earningsdependent bene ts that provides the same level of bene ts. Surprisingly, I nd that agents can be better o¤ with the implementation of a system with universal bene ts both in the short and in ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998